<form id="pagerForm" method="post" action="{:url('Project/index')}">
    <input type="hidden" name="license_type" value="{$license_type|default=''}"/>
    <input type="hidden" name="pageNum" value="{$pageNum}"/>
</form>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li><a rel="brandManageAdd" class="add" href="{:url('Project/add')}" target="navTab"  title="检车项目添加"><span>添加</span></a></li>
            <li><a rel="brandManageModify" class="edit" href="{:url('Project/modify')}?id={userId}" target="navTab"  title="检车项目修改"><span>修改</span></a></li>
            <li><a class="delete" href="{:url('Project/doDelete')}?id={userId}" target="ajaxTodo" title="确定要删除吗？"><span>删除</span></a>
            </li>
        </ul>
    </div>
    <table class="table" width="100%" layoutH="108.9">
        <thead>
        <tr>
            <th width="50">ID</th>
            <th width="100">车辆类型</th>
            <th width="100">检车项目</th>
            <th width="100">价格</th>
            <th width="80">商品排序</th>
            <th width="70">当前状态</th>
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="vo"}
        <tr target="userId" rel="{$vo.id}">
            <td>{$vo.id}</td>
            <td>{$vo.vehicle_type}</td>
            <td>{$vo.goods_name}</td>
            <td>{$vo.shop_price}</td>
            <td>{$vo.sort}</td>
            <td>
                {switch name="$vo.is_use"}
                {case value="0"}
                <span style="color: red;margin-top: 5px;display: block">禁用</span>
                {/case}
                {case value="1"}
                <span style="color: green;margin-top: 5px;display: block">启用</span>
                {/case}
                {/switch}
            </td>
        </tr>
        {/volist}
        </tbody>
    </table>
</div>
